<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
	String position = request.getParameter("position");
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
	<form action="<%=path %>/user/signUp.do?position=<%=position %>" method="post">
		<table border="1px">

			<tr>
				<td>用户名</td>
				<td><input id="userName" name="userName" type="text" /></td>
			</tr>
			<tr>
				<td>密码</td>
				<td><input id="password" name="password" type="text" /></td>
			</tr>
			<tr>
				<td>电话</td>
				<td><input id="phone" name="phone" type="text" /></td>
			</tr>
			<tr>
				<td>身份</td>
				<td>
				<select id="attribute" name="attribute">
						<option value="GLY">管理员</option>
						<option value="YH">用户</option>
				</select>
				</td>
			</tr>
			
			<tr>
				<td>性别</td>
				<td>
				<select id="sex" name="sex">
						<option value="boy">男</option>
						<option value="girl">女</option>
				</select>
				</td>
			</tr>
			
			<tr>
				<td><input type="submit" value="提交"/></td>
				<td><input type="reset"  value="重置"/></td>
			</tr>
		</table>

	</form>

</body>
</html>